package com.atguigu.eduservice.easyexcel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.Map;

/**
 * @Classname ExcelListener
 * @Description TODO
 * @Date 2022/8/28 20:05
 * @Created by ZHL17
 */
public class ExcelListener extends AnalysisEventListener<StudentData> {
    @Override
    public void invoke(StudentData studentData, AnalysisContext analysisContext) {
        System.out.println("***"+studentData);
    }
    @Override
    public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) {
        System.out.println("表头"+headMap);
    }
    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
